package com.swordget.entity.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreType;
import lombok.*;

import java.util.List;

/**
 * @Author: David
 * @Date: Created in 13:58 2020/4/15
 * @Description: ${DESCRIPTION}
 * @Modified By:
 * @Version: ${VERSION}
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Builder
public class ExcelVo {


    /**
     * 记录Excel的sheet信息
     */
    private List<SheetVo> sheets;

    /**
     * 是否是单sheet 导出用户选择是否导出到单sheet
     */
    private boolean singleSheet = true;

    public ExcelVo(List<SheetVo> sheets) {
        this.sheets = sheets;
    }
}
